<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <script>
        var arr = new Array(1, 1, 2, 3, 4, 5);
        var arr1 = new Array(5);
        var arr2 = [3, 4, 5, 6, 7];

        document.write(arr + "<br>");
        document.write(arr1 + "<br>");
        document.write(arr2 + "<br>");


        document.write(arr.concat(arr2) + "<br>");

        document.write(arr.push(2) + "<br>");

        document.write(arr.join("--") + "<br>");
        document.write(arr + "<br>");
        document.write(arr.reverse() + "<br>");

        // document.write("<hr>")
        // document.write(arr.splice(arr.length-1) + "<br>");
        // document.write(arr + "<br>");

        document.write("<hr>");
        document.write(arr.pop());
        document.write(arr);



        document.write("<hr>");

        var arr4 = ["flkasdjfls","甲方收到啦附件是的","盎司附近啊收到了附件"];



        arr4.forEach(function (a){
            console.log(a);
        });



    </script>
</head>
<body>

</body>
</html>